<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" data-rule="required" class="form-control" name="row[title]" type="text" value="{$row.title}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tpic_image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-tpic_image" class="form-control" size="50" name="row[tpic_image]" type="text" value="{$row.tpic_image}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-tpic_image" class="btn btn-danger plupload" data-url="ajax/file" data-input-id="c-tpic_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-tpic_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-tpic_image" class="btn btn-primary fachoose" data-input-id="c-tpic_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-tpic_image"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-tpic_image"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-content" class="form-control editor" rows="5" name="row[content]" cols="50">{$row.content}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weigh" class="form-control" name="row[weigh]" type="number" value="{$row.weigh}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('是否前端展示')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <input  id="c-is_showswitch" name="row[is_showswitch]" type="hidden" value="{$row.is_showswitch}">
            <a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-is_showswitch" data-yes="1" data-no="0" >
                <i class="fa fa-toggle-on text-success {eq name="$row.is_showswitch" value="0"}fa-flip-horizontal text-gray{/eq} fa-2x"></i>
            </a>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Team_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-team_name" class="form-control" name="row[team_name]" type="text" value="{$row.team_name}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('People')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-people" class="form-control" name="row[people]" type="text" value="{$row.people}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Research_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-research_date" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[research_date]" type="text" value="{$row.research_date}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Technical')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-technical" class="form-control" name="row[technical]" type="text" value="{$row.technical}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Stage')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-stage" class="form-control" name="row[stage]" type="text" value="{$row.stage}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Theoretical_level')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-theoretical_level" class="form-control" name="row[theoretical_level]" type="text" value="{$row.theoretical_level}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Indicators')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-indicators" class="form-control" name="row[indicators]" type="text" value="{$row.indicators}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Innovation')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-innovation" class="form-control " rows="5" name="row[innovation]" cols="50">{$row.innovation}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ownership')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ownership" class="form-control" name="row[ownership]" type="text" value="{$row.ownership}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Maturity')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-maturity" class="form-control" name="row[maturity]" type="text" value="{$row.maturity}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('App_value')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-app_value" class="form-control" name="row[app_value]" type="text" value="{$row.app_value}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Prospect')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-prospect" class="form-control" name="row[prospect]" type="text" value="{$row.prospect}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Keyword')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-keyword" class="form-control" name="row[keyword]" type="text" value="{$row.keyword}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Collaborating')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-collaborating" class="form-control" name="row[collaborating]" type="text" value="{$row.collaborating}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remark')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-remark" class="form-control" name="row[remark]" type="text" value="{$row.remark}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Matching')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-matching" class="form-control" name="row[matching]" type="text" value="{$row.matching}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
